#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>


int main()
{
    char s=0;
    while (scanf(" %c", &s)!=EOF)
    {
        if ((s >= 65 && s <= 92) || (s >= 97 && s <= 122))
            printf("%c is an alphabet.\n", s);
        else
            printf("%c is not an alphabet.", s);
    }
    return 0;
}